package com.auxgroup.smarthome.business.service;


import com.auxgroup.bridge.business.inner.dto.AppPushTemplateDto;
import com.auxgroup.bridge.business.inner.vo.AppPushTemplateVo;
import com.auxgroup.smarthome.business.service.inner.AppPushTemplateInnerService;
import com.auxgroup.smarthome.syscode.Syscode;
import com.auxgroup.smarthome.utils.PageContent;
import com.auxgroup.smarthome.web.ApiResponse;
import org.springframework.stereotype.Component;

/**
 * Created by lixiaoxiao on 2017/10/16.
 */
@Component
public class AppPushTemplateInnerServiceFallback implements AppPushTemplateInnerService {


    @Override
    public ApiResponse<PageContent<AppPushTemplateVo>> findAppPushTemplate(String keyword, String pushTimeStart, String pushTimeEnd, Integer progress, Integer page, Integer size) {
        return ApiResponse.prompt(Syscode.FAIL);
    }

    @Override
    public ApiResponse addAppPushTemplate(AppPushTemplateDto appPushTemplateDto) {
        return ApiResponse.prompt(Syscode.FAIL);
    }

    @Override
    public ApiResponse updateAppPushTemplate(AppPushTemplateDto dto, String templateId) {
        return ApiResponse.prompt(Syscode.FAIL);
    }

    @Override
    public ApiResponse deleteAppPushTemplate(String templateId) {
        return ApiResponse.prompt(Syscode.FAIL);
    }

    @Override
    public ApiResponse pushToJiGuangPaas(String templateId) {
        return ApiResponse.prompt(Syscode.FAIL);
    }

    @Override
    public ApiResponse pushToJiGuangPaasNew(String templateId) {
        return ApiResponse.prompt(Syscode.FAIL);
    }
}
